package core.service.crud;

import java.io.Serializable;

import core.base.exception.AppBizException;


public interface CrudService<T, I extends Serializable> {

	public void add(T o) throws AppBizException;
	
	public T get(I k);

	public T getAndCheck(I k) throws AppBizException;

	public void update(T o) throws AppBizException;

	public void delete(I k) throws AppBizException;
}
